Carbon


GetControlFeatures

Header: Controls.h Carbon status: Supported

Obtains the features a control supports.

OSErr GetControlFeatures (
    ControlRef inControl, 
    UInt32 *outFeatures
);
Parameter descriptions
inControl

A handle to the control to be examined.

outFeatures

On input, a pointer to an unsigned 32-bit integer value. On return, the value contains a bit field specifying the features the control supports. For a list of the features a control may support, see ControlDefProcPtr.

function result

A result code. The result code errMsgNotSupported indicates that the control does not support Appearance-compliant features.

DISCUSSION

The GetControlFeatures function obtains the Appearance-compliant features a control definition function supports, in response to a kControlMsgGetFeatures message.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)